Lecture notes on “ Analysis of Algorithms ” : Directed Minimum Spanning Trees ( More complete but still unfinished ) Lecturer : Uri Zwick

نویسنده

  • Uri Zwick
چکیده

We describe an efficient implementation of Edmonds’ algorithm for finding minimum directed spanning trees in directed graphs. 1 Minimum Directed Spanning Trees Let G = (V,E,w) be a weighted directed graph, where w : E → R is a cost (or weight) function defined on its edges. Let r ∈ V . A directed spanning tree (DST) of G rooted at r, is a subgraph T of G such that the undirected version of T is a tree and T contains a directed path from r to any other vertex in V . The cost w(T ) of a directed spanning tree T is the sum of the costs of its edges, i.e., w(T ) = ∑ e∈T w(e). A minimum directed spanning tree (MDST) rooted at r is a directed spanning tree rooted at r of minimum cost. A directed graph contains a directed spanning tree rooted at r if and only if all vertices in G are reachable from r. This condition can be easily tested in linear time. The proof of the following lemma is trivial as is left as an exercise. Lemma 1.1 The following conditions are equivalent: (i) T is a directed spanning tree of G rooted at r. (ii) The indegree of r in T is 0, the indegree of every other vertex of G in T is 1, and T is acyclic, i.e., contains no directed cycles. (iii) The indegree of r in T is 0, the indegree of every other vertex of G in T is 1, and there are directed paths in T from r to all other vertices. ∗School of Computer Science, Tel Aviv University, Tel Aviv 69978, Israel. E–mail: [email protected]

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Lecture notes for “Advanced Graph Algorithms”: Verification of Minimum Spanning Trees

We present a deterministic linear time algorithm for the Tree Path Maxima problem. As a corollary, we obtain a deterministic linear time algorithm for checking whether a given spanning tree T of a weighted graph is a minimum spanning tree.

متن کامل

Lecture notes for “Analysis of Algorithms”: Minimum Spanning Trees

We present a general framework for obtaining efficient algorithms for computing minimum spanning trees. We use this framework to derive the classical algorithms of Prim, Kruskal and Bor̊uvka. We then describe the randomized linear-time algorithm of Karger, Klein and Tarjan. The algorithm of Karger, Klein and Tarjan uses deterministic linear-time implementations of a verification algorithm of Kom...

متن کامل

Lecture notes on “Analysis of Algorithms”: Directed Minimum Spanning Trees

We say that u is dominated by v if and only if every path from r to u passes through v. It is not difficult to show that if u is dominated by both v1 and v2, then either v1 dominates v2, or v2 dominates v1. We say that v is the immediate dominator of u if and only if every dominator of u is also a dominator of v. It follows from the previous observation that every vertex u has a unique immediat...

متن کامل

Lecture notes on “ Analysis of Algorithms ” : Minimum cost flow and weighted bipartite matching

We present strongly polynomial time algorithms for the minimum cost flow problem and for the weighted bipartite matching problem, also known as the assignment problem. 1 The minimum cost flow problem A flow network with costs, demands and capacities N = (G, a, b, c) is composed of a directed graph G = (V,E), a cost function a : E → R, a demand function b : V → R, and a capacity function c : E →...

متن کامل

Lecture notes for “ Analysis of Algorithms ” : Minimum cost flow and weighted bipartite matching

We present strongly polynomial time algorithms for the minimum cost flow problem and for the weighted bipartite matching problem, also known as the assignment problem. 1 The minimum cost flow problem A flow network with prices, demands and capacities N = (G, a, b, c) is composed of a directed graph G = (V, E), a cost function a : E → R, a demand function b : V → R, and a capacity function c : E...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013